// api模板中的统一接口输入出口
// 接收全部的接口 并统一导出
import {
  userLogin,
  userSendSms,
  getUserInfo,
  getUserChannels,
  addFollow,
  deleteFollow,
  getUserProFile,
  updateUserAvatar,
  updateUserProfile
} from './user.js'
import { getArticleList, getArticleById, addCollect, deleteCollect, addLike, deleteLike } from './article.js'
import { getAllChannel, addUserChannel, deleteUserChannel } from './channel.js'
import { getSearchSuggestions, getSearchResult } from './search.js'
import { getComments, addCommentLike, deleteCommentLike, addComment } from './comment.js'

export const userLoginAPI = userLogin
export const userSendSmsAPI = userSendSms
export const getUserInfoAPI = getUserInfo
export const getUserChannelsAPI = getUserChannels
export const addFollowAPI = addFollow
export const deleteFollowAPI = deleteFollow
export const getUserProFileAPI = getUserProFile
export const updateUserAvatarAPI = updateUserAvatar
export const updateUserProfileAPI = updateUserProfile
//  文章部分
export const getArticleListAPI = getArticleList
export const getArticleByIdAPI = getArticleById
export const addCollectAPI = addCollect
export const deleteCollectAPI = deleteCollect
export const addLikeAPI = addLike
export const deleteLikeAPI = deleteLike
// 全部频道列表
export const getAllChannelAPI = getAllChannel
export const addUserChannelAPI = addUserChannel
export const deleteUserChannelAPI = deleteUserChannel
// 搜索
export const getSearchSuggestionsAPI = getSearchSuggestions
export const getSearchResultAPI = getSearchResult
// 评论
export const getCommentsAPI = getComments
export const addCommentLikeAPI = addCommentLike
export const deleteCommentLikeAPI = deleteCommentLike
export const addCommentAPI = addComment
